#ifndef STAITC_QUAD_H
#define STATIC_QUAD_H

#include"StdAfx.h"
#include"SceneObject.h"

class StaticQuad : public SceneObject
{
public:
	StaticQuad( XMFLOAT3 cenPos, float width, float height, LPCSTR texFile );
	~StaticQuad( );

	bool Init( ID3D11Device* device );
	void DrawObject( ID3D11DeviceContext* d3dContext, CXMMATRIX view, CXMMATRIX proj );

private:
	bool CreateTexture( ID3D11Device* device );

private:
	LPCSTR m_texFile;
	ID3D11ShaderResourceView* m_SRV;
};

#endif